package com.wugui.datatx.core.biz.model;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * Created by xuxueli on 16/7/22.
 */
@Data
public class TriggerParam implements Serializable {
	private static final long serialVersionUID = 42L;

	private int jobId;

	private String executorHandler;
	private String executorParams;
	private String executorBlockStrategy;
	private int executorTimeout;

	private long logId;
	private long logDateTime;

	private String glueType;
	private String glueSource;
	private long glueUpdatetime;

	private int broadcastIndex;
	private int broadcastTotal;

	private String jobJson;
	private String processId;

	private String replaceParam;
	private String jvmParam;
    private Date startTime;
	private Date triggerTime;

	private String partitionInfo;

	private long startId;
	private long endId;

	private Integer incrementType;

	private int incStepSecond;

	private String replaceParamType;

	@Override
	public String toString() {
		return "TriggerParam{" + "jobId=" + jobId + ", executorHandler='" + executorHandler + '\''
				+ ", executorParams='" + executorParams + '\'' + ", executorBlockStrategy='" + executorBlockStrategy
				+ '\'' + ", executorTimeout=" + executorTimeout + ", logId=" + logId + ", logDateTime=" + logDateTime
				+ ", glueType='" + glueType + '\'' + ", glueSource='" + glueSource + '\'' + ", glueUpdatetime="
				+ glueUpdatetime + ", broadcastIndex=" + broadcastIndex + ", broadcastTotal=" + broadcastTotal
				+ ", jobJson=" + jobJson + ", processId=" + processId + ", replaceParam=" + replaceParam + ", jvmParam="
				+ jvmParam + ", startTime=" + startTime + ", triggerTime=" + triggerTime + ", partitionInfo="
				+ partitionInfo + ", replaceParamType=" + replaceParamType + ", startId=" + startId + ", endId=" + endId
				+ ", incrementType=" + incrementType + ", incStepSecond=" + incStepSecond + '}';
	}

}
